<%--
  Created by IntelliJ IDEA.
  User: liuxianan
  Date: 2021/7/20
  Time: 10:16 上午
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>我的教务</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- 引入 Bootstrap -->
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<h1>我的教务</h1>

<div class="container">

  <div class="row clearfix">
    <div class="col-md-12 column">
      <div class="page-header">
        <h1>
          <small>我的信息</small>
        </h1>
      </div>
    </div>
  </div>


  <div class="row clearfix">
    <div class="col-md-12 column">
      <table class="table table-hover table-striped">
        <thead>
        <tr>
          <th>教号</th>
          <th>姓名</th>
          <th>性别</th>
          <th>生日</th>
          <th>职称</th>
          <th>薪资</th>
          <th>手机</th>
        </tr>
        </thead>

        <tbody>
        <tr>
          <td>${teacher.getTid()}</td>
          <td>${teacher.getTname()}</td>
          <td>${teacher.getTsex()}</td>
          <td>${teacher.getTbirth()}</td>
          <td>${teacher.getTpost()}</td>
          <td>${teacher.getTsalary()}</td>
          <td>${teacher.getTphoneNumber()}</td>
          <td>
            <a href="${pageContext.request.contextPath}/teacher/toUpdateTeacher?Tid=${teacher.getTid()}">更改我的信息</a>
          </td>
        </tr>
        </tbody>
      </table>

<%--      <a href="${pageContext.request.contextPath}/tea/showStudentCourse?STno=${teacher.getSno()}">我的课程</a>--%>


    </div>
  </div>
</div>
</body>

</html>